package com.ruoyi.iptv.user.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户管理对象 iptv_user_info
 * 
 * @author 玉念聿辉
 * @date 2021-10-20
 */
public class IptvUserInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 所属桌面 */
    private Long desktopId;

    /** 所属酒店 */
    private Long hotalId;

    /** 所属医院 */
    private Long hospitalId;

    /** 房间号 */
    @Excel(name = "房间号")
    private String room;

    /** 房间状态 */
    @Excel(name = "房间状态")
    private Long roomStatus;

    /** 名字 */
    @Excel(name = "名字")
    private String name;

    /** WIFI */
    @Excel(name = "WIFI")
    private String roomWifiName;

    /** 地址 */
    @Excel(name = "地址")
    private String addr;

    /** 密码 */
    @Excel(name = "密码")
    private String roomWifiPassword;

    /** 手机号 */
    private String phone;

    /** mac */
    @Excel(name = "mac")
    private String mac;

    /** 版本 */
    @Excel(name = "版本")
    private String version;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 排序 */
    private Long sort;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDesktopId(Long desktopId) 
    {
        this.desktopId = desktopId;
    }

    public Long getDesktopId() 
    {
        return desktopId;
    }
    public void setHotalId(Long hotalId) 
    {
        this.hotalId = hotalId;
    }

    public Long getHotalId() 
    {
        return hotalId;
    }
    public void setHospitalId(Long hospitalId) 
    {
        this.hospitalId = hospitalId;
    }

    public Long getHospitalId() 
    {
        return hospitalId;
    }
    public void setRoom(String room) 
    {
        this.room = room;
    }

    public String getRoom() 
    {
        return room;
    }
    public void setRoomStatus(Long roomStatus) 
    {
        this.roomStatus = roomStatus;
    }

    public Long getRoomStatus() 
    {
        return roomStatus;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setRoomWifiName(String roomWifiName) 
    {
        this.roomWifiName = roomWifiName;
    }

    public String getRoomWifiName() 
    {
        return roomWifiName;
    }
    public void setAddr(String addr) 
    {
        this.addr = addr;
    }

    public String getAddr() 
    {
        return addr;
    }
    public void setRoomWifiPassword(String roomWifiPassword) 
    {
        this.roomWifiPassword = roomWifiPassword;
    }

    public String getRoomWifiPassword() 
    {
        return roomWifiPassword;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setMac(String mac) 
    {
        this.mac = mac;
    }

    public String getMac() 
    {
        return mac;
    }
    public void setVersion(String version) 
    {
        this.version = version;
    }

    public String getVersion() 
    {
        return version;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setSort(Long sort) 
    {
        this.sort = sort;
    }

    public Long getSort() 
    {
        return sort;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("desktopId", getDesktopId())
            .append("hotalId", getHotalId())
            .append("hospitalId", getHospitalId())
            .append("room", getRoom())
            .append("roomStatus", getRoomStatus())
            .append("name", getName())
            .append("roomWifiName", getRoomWifiName())
            .append("addr", getAddr())
            .append("roomWifiPassword", getRoomWifiPassword())
            .append("phone", getPhone())
            .append("mac", getMac())
            .append("version", getVersion())
            .append("endTime", getEndTime())
            .append("sort", getSort())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
